﻿using System;
namespace YY.Model
{
	/// <summary>
	/// 代理商销售业绩表
	/// </summary>
	[Serializable]
	public partial class agent_sales_performance
	{
		public agent_sales_performance()
		{}
		#region Model
		private int _id;
		private string _platform_name;
		private int? _agent_id;
		private Guid _user_id;
		private string _user_name;
		private decimal? _price;
		private decimal? _count;
		private decimal? _sales_amount;
		private decimal? _sum;
		private DateTime? _sales_time;
		/// <summary>
		/// 自增列id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string platform_name
		{
			set{ _platform_name=value;}
			get{return _platform_name;}
		}
		/// <summary>
		/// 代理商外建
		/// </summary>
		public int? agent_id
		{
			set{ _agent_id=value;}
			get{return _agent_id;}
		}
		/// <summary>
		/// 会员账号(GUID)
		/// </summary>
		public Guid user_id
		{
			set{ _user_id=value;}
			get{return _user_id;}
		}
		/// <summary>
		/// 会员名称
		/// </summary>
		public string user_name
		{
			set{ _user_name=value;}
			get{return _user_name;}
		}
		/// <summary>
		/// 购买价格
		/// </summary>
		public decimal? price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 购买数量
		/// </summary>
		public decimal? count
		{
			set{ _count=value;}
			get{return _count;}
		}
		/// <summary>
		/// 销售业绩
		/// </summary>
		public decimal? sales_amount
		{
			set{ _sales_amount=value;}
			get{return _sales_amount;}
		}
		/// <summary>
		/// 总计
		/// </summary>
		public decimal? sum
		{
			set{ _sum=value;}
			get{return _sum;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? sales_time
		{
			set{ _sales_time=value;}
			get{return _sales_time;}
		}
		#endregion Model

	}
}

